home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM User 1995 August
/
CD ROM User Issue 13 (Paragon Publishing) (August 1995).iso
/
bftc
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-10-26
|
10KB
|
201 lines
@echo off
if not exist .\phcdata\phc001x.pcx goto error1
if "%1" == "" goto error2
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ BOBBY FISCHER TEACHES CHESS: DEMO VERSION DOS Install Program │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
echo ┌────────────────────────────────────────────────────────┐
echo │ │
echo │ This program installs the DEMO version of Bobby │
echo │ Fischer Teaches Chess onto your hard drive. You will │
echo │ need approximately 10 Meg of free disk space. │
echo │ │
echo │ NOTE: Although most of the DEMO can be run directly │
echo │ from the CD, response times may be slow. Therefore, │
echo │ we recommend that you continue this install and run │
echo │ the BFTC DEMO from your hard drive. │
echo │ │
echo └────────────────────────────────────────────────────────┘
echo
echo
.\yesno.exe " Do you wish to continue with the installation (Y/N)? "
if errorlevel = 3 goto end
if errorlevel = 2 goto GoInstall
goto end
:GoInstall
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ BOBBY FISCHER TEACHES CHESS: DEMO VERSION DOS Install Program │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
echo ┌────────────────────────────────────────────────────┐
echo │ Copying Files. │
echo │ This process will take several minutes. │
echo │ │
echo │ To order the complete version of Bobby Fischer │
echo │ Teaches Chess: │
echo │ │
echo │ Distributors/Retailers, call (714) 553-6655 │
echo │ Consumers, call (800) 969-GAME or contact Mission │
echo │ Studios directly @ (708) 991-0594. │
echo └────────────────────────────────────────────────────┘
echo
echo Creating directory %1\bftcdemo & copying program files.
md %1\bftcdemo
copy .\bftcpath.dat %1\bftcdemo > NUL
copy .\bftc.exe %1\bftcdemo > NUL
copy .\bftca.exe %1\bftcdemo > NUL
copy .\bftcb.exe %1\bftcdemo > NUL
copy .\bftcc.exe %1\bftcdemo > NUL
copy .\bftcd.exe %1\bftcdemo > NUL
copy .\bftce.exe %1\bftcdemo > NUL
copy .\bftcf.exe %1\bftcdemo > NUL
copy .\bftcg.exe %1\bftcdemo > NUL
copy .\bftch.exe %1\bftcdemo > NUL
copy .\hlv16.gft %1\bftcdemo > NUL
copy .\hlv20.gft %1\bftcdemo > NUL
copy .\vcr02.gft %1\bftcdemo > NUL
copy .\main.gxl %1\bftcdemo > NUL
copy .\sally.ovr %1\bftcdemo > NUL
copy .\phcb1.pcx %1\bftcdemo > NUL
copy .\phcb2.pcx %1\bftcdemo > NUL
copy .\phcb3.pcx %1\bftcdemo > NUL
copy .\phcback.pcx %1\bftcdemo > NUL
copy .\author.dat %1\bftcdemo > NUL
copy .\readme.txt %1\bftcdemo > NUL
echo Creating directory %1\bftcdemo\2dpieces & copying 2d chess pieces.
md %1\bftcdemo\2dpieces
copy .\2dpieces\*.* %1\bftcdemo\2dpieces > NUL
echo Creating directory %1\bftcdemo\3dpieces & copying 3d chess pieces.
md %1\bftcdemo\3dpieces
copy .\3dpieces\*.* %1\bftcdemo\3dpieces > NUL
echo Creating directory %1\bftcdemo\pictures & copying demo lesson images.
md %1\bftcdemo\pictures
copy .\pictures\*.* %1\bftcdemo\pictures > NUL
echo Creating directory %1\bftcdemo\books & copying demo lessons.
md %1\bftcdemo\books
copy .\books\*.* %1\bftcdemo\books > NUL
echo Creating directory %1\bftcdemo\sounds & copying sound files.
md %1\bftcdemo\sounds
copy .\sounds\*.* %1\bftcdemo\sounds > NUL
echo Creating directory %1\bftcdemo\desktops & copying background images.
md %1\bftcdemo\desktops
copy .\desktops\default.pcx %1\bftcdemo\desktops > NUL
copy .\desktops\gray.pcx %1\bftcdemo\desktops > NUL
copy .\desktops\granite.pcx %1\bftcdemo\desktops > NUL
copy .\desktops\sndstone.pcx %1\bftcdemo\desktops > NUL
copy .\desktops\drkmarbl.pcx %1\bftcdemo\desktops > NUL
echo Creating directory %1\bftcdemo\phcdata & copying pictures.
md %1\bftcdemo\phcdata
copy .\phcdata\*.* %1\bftcdemo\phcdata > NUL
echo Creating directory %1\bftcdemo\temp.
md %1\bftcdemo\temp
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ BOBBY FISCHER TEACHES CHESS DOS Install Program │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
echo ┌──────────────────────────────────────────────────────────────┐
echo │ IMPORTANT NOTE │
echo │ │
echo │ If you have any problems running the DEMO of BFTC, please │
echo │ read the file README.TXT. It has important troubleshooting │
echo │ information. │
echo │ │
echo │ Most problems are caused by the following: │
echo │ │
echo │ - Not enough memory.... Have at least 560K available. │
echo │ - Super VGA problems... You may need a VESA driver. │
echo │ │
echo │ The file README.TXT has more information. To view it, type: │
echo │ │
echo │ "TYPE README.TXT | MORE [Enter]" │
echo │ │
echo └──────────────────────────────────────────────────────────────┘
echo
pause
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ BOBBY FISCHER TEACHES CHESS: DEMO VERSION DOS Install Program │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
echo ┌──────────────────────────────────────────────────────────────────┐
echo │ The DEMO version of Bobby Fischer Teaches Chess has been │
echo │ successfully installed!! │
echo │ │
echo │ The file README.TXT contains the latest information on BFTC. │
echo │ To view this file type the following command at the DOS prompt: │
echo │ │
echo │ "TYPE README.TXT | MORE [Enter]" │
echo └──────────────────────────────────────────────────────────────────┘
echo
echo To run the Bobby Fischer Teaches Chess DEMO:
echo 1) Insert the BFTC CD into your CD-ROM drive.
echo 2) Change to the correct drive: %1 [Enter]
echo 3) Change to the BFTCDEMO directory: CD \BFTCDEMO [Enter]
echo 4) Run the program: BFTC [Enter]
goto end
:error1
cls
echo ┌─────────────────────────────────────────────────────────────────────────────┐
echo │ BOBBY FISCHER TEACHES CHESS: DEMO VERSION DOS Install Program │
echo └─────────────────────────────────────────────────────────────────────────────┘
echo
echo ┌────────────────────────────────────────────────────┐
echo │ INSTALLATION ERROR │
echo │ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒